/*
 * $Id: UdpAddress.h,v 1.3 2005-07-23 09:22:42 bacon Exp $
 */

#ifndef _XPP_NET_UDPADDRESS_CLASS_
#define _XPP_NET_UDPADDRESS_CLASS_

#include <xpp/net/InetAddress.h>

namespace xpp
{
	namespace net
	{

		class UdpAddress: public InetAddress
		{
		public:
			UdpAddress ();
			UdpAddress (int family);
			UdpAddress (const InetAddress& adr);
			UdpAddress (const struct sockaddr_in& adr);
			UdpAddress (const struct sockaddr_in6& adr);
									 
			UdpAddress& operator= (const InetAddress& adr);
			UdpAddress& operator= (const struct sockaddr_storage& adr);
			UdpAddress& operator= (const struct sockaddr_in& adr);
			UdpAddress& operator= (const struct sockaddr_in6& adr);
		};

	}
}

#endif
